<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>《秋天的怀念》细节答题互动页</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">
</head>
<body class="bg-gradient-to-b from-slate-50 to-slate-100 min-h-screen p-4 md:p-8">
    <div class="max-w-3xl mx-auto">
        <!-- 标题区 -->
        <div class="text-center mb-10">
            <h1 class="text-3xl md:text-4xl font-bold text-slate-800 mb-3">《秋天的怀念》细节理解闯关</h1>
            <p class="text-slate-600 text-lg">选择答案后点击按钮，翻转卡片查看解析与词汇拓展</p>
        </div>

        <!-- 题目卡片容器 -->
        <div class="space-y-8">
            <!-- 第1题卡片 -->
            <div class="perspective-1000">
                <div id="card1" class="card w-full relative transform-style-preserve-3d transition-transform duration-600 rounded-2xl shadow-2xl">
                    <!-- 正面：题目与选项 -->
                    <div class="card-front absolute w-full h-full backface-hidden bg-white rounded-2xl p-6 md:p-8">
                        <div class="flex items-center gap-3 mb-5">
                            <div class="w-10 h-10 rounded-full bg-amber-500 flex items-center justify-center text-white font-bold text-lg">1</div>
                            <h2 class="text-xl md:text-2xl font-semibold text-slate-800">细节描写分析</h2>
                        </div>
                        <p class="text-slate-700 text-lg mb-6 leading-relaxed">
                            "母亲就悄悄地躲出去，在我看不见的地方偷偷地听着我的动静。"这句中"悄悄"和"偷偷"表现了母亲？
                        </p>
                        <!-- 选项区 -->
                        <div class="space-y-4 mb-8">
                            <label class="flex items-center gap-3 p-4 bg-slate-50 rounded-xl cursor-pointer hover:bg-amber-50 transition-colors border border-slate-200">
                                <input type="radio" name="q1" value="A" class="w-5 h-5 text-amber-600 accent-amber-600">
                                <span class="text-slate-700 text-base md:text-lg">A. 母亲的胆小怕事</span>
                            </label>
                            <label class="flex items-center gap-3 p-4 bg-slate-50 rounded-xl cursor-pointer hover:bg-amber-50 transition-colors border border-slate-200">
                                <input type="radio" name="q1" value="B" class="w-5 h-5 text-amber-600 accent-amber-600">
                                <span class="text-slate-700 text-base md:text-lg">B. 母亲对儿子的理解、小心与隐忍</span>
                            </label>
                            <label class="flex items-center gap-3 p-4 bg-slate-50 rounded-xl cursor-pointer hover:bg-amber-50 transition-colors border border-slate-200">
                                <input type="radio" name="q1" value="C" class="w-5 h-5 text-amber-600 accent-amber-600">
                                <span class="text-slate-700 text-base md:text-lg">C. 母亲不想管儿子了</span>
                            </label>
                            <label class="flex items-center gap-3 p-4 bg-slate-50 rounded-xl cursor-pointer hover:bg-amber-50 transition-colors border border-slate-200">
                                <input type="radio" name="q1" value="D" class="w-5 h-5 text-amber-600 accent-amber-600">
                                <span class="text-slate-700 text-base md:text-lg">D. 母亲在做自己的事情</span>
                            </label>
                        </div>
                        <button onclick="flipCard('card1')" class="w-full py-4 bg-amber-500 text-white rounded-xl font-medium text-lg hover:bg-amber-600 transition-colors shadow-md flex items-center justify-center gap-2">
                            <i class="fa fa-check-circle"></i> 查看答案
                        </button>
                    </div>
                    <!-- 背面：答案与解析 -->
                    <div class="card-back absolute w-full h-full backface-hidden bg-amber-50 rounded-2xl p-6 md:p-8 rotate-y-180">
                        <div class="flex items-center gap-3 mb-5">
                            <div class="w-10 h-10 rounded-full bg-white flex items-center justify-center text-amber-600 font-bold text-lg">1</div>
                            <h2 class="text-xl md:text-2xl font-semibold text-amber-800">答案与解析</h2>
                        </div>
                        <div class="bg-white/90 rounded-xl p-6 mb-6">
                            <p class="text-amber-900 font-bold text-lg mb-3">正确答案：<span class="text-2xl font-extrabold">B</span></p>
                            <div class="text-slate-700 leading-relaxed">
                                <p class="mb-3"><strong>词汇强化：</strong></p>
                                <p>• <span class="font-semibold">悄悄（qiāo qiāo）</span>：副词，形容动作轻柔、不声张，体现母亲的体贴，避免打扰儿子发泄情绪。</p>
                                <p>• <span class="font-semibold">偷偷（tōu tōu）</span>：副词，形容行为隐蔽，暗含母亲的牵挂——既想关注儿子，又不愿让他察觉压力。</p>
                                <p class="mt-4 mb-2"><strong>解析：</strong></p>
                                <p>"悄悄躲出去"是母亲对儿子暴怒情绪的理解，主动给予独处空间；"偷偷听动静"则暴露她的小心与隐忍——担心儿子受伤，却选择默默守护。A、C、D选项均违背母亲"关爱儿子"的核心情感，无法体现细节描写的深层含义，故正确答案为B。</p>
                            </div>
                        </div>
                        <button onclick="flipBack('card1')" class="w-full py-4 bg-white text-amber-600 rounded-xl font-medium text-lg hover:bg-slate-100 transition-colors shadow-md flex items-center justify-center gap-2">
                            <i class="fa fa-arrow-left"></i> 返回题目
                        </button>
                    </div>
                </div>
            </div>

            <!-- 第2题卡片 - 已调整为与第1题相同的排版 -->
            <div class="perspective-1000">
                <div id="card2" class="card w-full relative transform-style-preserve-3d transition-transform duration-600 rounded-2xl shadow-2xl">
                    <!-- 正面：题目与选项 -->
                    <div class="card-front absolute w-full h-full backface-hidden bg-white rounded-2xl p-6 md:p-8">
                        <div class="flex items-center gap-3 mb-5">
                            <div class="w-10 h-10 rounded-full bg-amber-500 flex items-center justify-center text-white font-bold text-lg">2</div>
                            <h2 class="text-xl md:text-2xl font-semibold text-slate-800">行为动机分析</h2>
                        </div>
                        <p class="text-slate-700 text-lg mb-6 leading-relaxed">
                            母亲总是想推"我"去北海看花，最根本的原因是？
                        </p>
                        <!-- 选项区 -->
                        <div class="space-y-4 mb-8">
                            <label class="flex items-center gap-3 p-4 bg-slate-50 rounded-xl cursor-pointer hover:bg-amber-50 transition-colors border border-slate-200">
                                <input type="radio" name="q2" value="A" class="w-5 h-5 text-amber-600 accent-amber-600">
                                <span class="text-slate-700 text-base md:text-lg">A. 北海的花很漂亮，她想去看</span>
                            </label>
                            <label class="flex items-center gap-3 p-4 bg-slate-50 rounded-xl cursor-pointer hover:bg-amber-50 transition-colors border border-slate-200">
                                <input type="radio" name="q2" value="B" class="w-5 h-5 text-amber-600 accent-amber-600">
                                <span class="text-slate-700 text-base md:text-lg">B. 她想让"我"散散心，从绝望中走出来，找到生活的希望</span>
                            </label>
                            <label class="flex items-center gap-3 p-4 bg-slate-50 rounded-xl cursor-pointer hover:bg-amber-50 transition-colors border border-slate-200">
                                <input type="radio" name="q2" value="C" class="w-5 h-5 text-amber-600 accent-amber-600">
                                <span class="text-slate-700 text-base md:text-lg">C. 医生建议多出去走走对身体好</span>
                            </label>
                            <label class="flex items-center gap-3 p-4 bg-slate-50 rounded-xl cursor-pointer hover:bg-amber-50 transition-colors border border-slate-200">
                                <input type="radio" name="q2" value="D" class="w-5 h-5 text-amber-600 accent-amber-600">
                                <span class="text-slate-700 text-base md:text-lg">D. 妹妹想去北海公园玩</span>
                            </label>
                        </div>
                        <button onclick="flipCard('card2')" class="w-full py-4 bg-amber-500 text-white rounded-xl font-medium text-lg hover:bg-amber-600 transition-colors shadow-md flex items-center justify-center gap-2">
                            <i class="fa fa-check-circle"></i> 查看答案
                        </button>
                    </div>
                    <!-- 背面：答案与解析 -->
                    <div class="card-back absolute w-full h-full backface-hidden bg-amber-50 rounded-2xl p-6 md:p-8 rotate-y-180">
                        <div class="flex items-center gap-3 mb-5">
                            <div class="w-10 h-10 rounded-full bg-white flex items-center justify-center text-amber-600 font-bold text-lg">2</div>
                            <h2 class="text-xl md:text-2xl font-semibold text-amber-800">答案与解析</h2>
                        </div>
                        <div class="bg-white/90 rounded-xl p-6 mb-6">
                            <p class="text-amber-900 font-bold text-lg mb-3">正确答案：<span class="text-2xl font-extrabold">B</span></p>
                            <div class="text-slate-700 leading-relaxed">
                                <p class="mb-3"><strong>词汇强化：</strong></p>
                                <p>• <span class="font-semibold">根本（gēn běn）</span>：形容词，指事物的核心、本质，强调需挖掘母亲行为的深层目的。</p>
                                <p>• <span class="font-semibold">动机（dòng jī）</span>：名词，指行为背后的内在原因，此处指向母亲对儿子的精神救赎。</p>
                                <p class="mt-4 mb-2"><strong>解析：</strong></p>
                                <p>母亲提议看花的核心背景是"我"因瘫痪陷入绝望，对生活失去信心。她反复"央求"带"我"去北海，本质是想借自然的生机、儿时的回忆，帮"我"转移痛苦、重拾生活希望。A侧重自身愿望、C侧重生理需求、D关联他人想法，均未触及"唤醒儿子生命意识"的根本动机，故正确答案为B。</p>
                            </div>
                        </div>
                        <button onclick="flipBack('card2')" class="w-full py-4 bg-white text-amber-600 rounded-xl font-medium text-lg hover:bg-slate-100 transition-colors shadow-md flex items-center justify-center gap-2">
                            <i class="fa fa-arrow-left"></i> 返回题目
                        </button>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <style>
        .perspective-1000 {
            perspective: 1000px;
        }
        .transform-style-preserve-3d {
            transform-style: preserve-3d;
        }
        .backface-hidden {
            backface-visibility: hidden;
        }
        .rotate-y-180 {
            transform: rotateY(180deg);
        }
        .card {
            min-height: 650px;
        }
        @media (min-width: 768px) {
            .card {
                min-height: 600px;
            }
        }
        .flipped {
            transform: rotateY(180deg);
        }
    </style>

    <script>
        // 翻转卡片查看答案
        function flipCard(cardId) {
            const card = document.getElementById(cardId);
            card.classList.add('flipped');
        }

        // 翻回题目页面
        function flipBack(cardId) {
            const card = document.getElementById(cardId);
            card.classList.remove('flipped');
            // 重置对应题目的单选按钮
            const radioName = cardId === 'card1' ? 'q1' : 'q2';
            document.querySelectorAll(`input[name="${radioName}"]`).forEach(radio => {
                radio.checked = false;
            });
        }

        // 页面加载初始化
        window.onload = () => {
            // 清空所有单选按钮选中状态
            document.querySelectorAll('input[type="radio"]').forEach(radio => {
                radio.checked = false;
            });
        };
    </script>
</body>
</html>